<h2>设置</h2>
<%= error_messages_for :user %>
<% form_for @user, :html=>{:multipart => true, :class=>"nf lf"} do |f| -%>
<p>
    <label for="login" class="label_input" >Login</label>
    <%= f.text_field :login, :class=>"input_text"  %>
    <span class="hint">用来登录Linqr，不会对外公开</span>
</p>
<p>
    <label for="email" class="label_input" >Email</label>
    <%= f.text_field :email, :class=>"input_text format-email"  %>
    <span class="hint">用来发送通知</span>
</p>
<p>
    <label for="password" class="label_input" >密码</label>
    <%= f.password_field :password, :class=>"input_text"  %>
    <span class="hint">最少 4 个字符</span>
</p>
<p>
    <label for="password_confirmation" class="label_input" >重复密码</label>
    <%= f.password_field :password_confirmation, :class=>"input_text"  %>
    <span class="hint">最少 4 个字符</span>
</p>

<p>
  <b>Image</b><br />
  <%= f.file_field :uploaded_data, :class=>"input_text" %>
</p>

<p class="act"><%= submit_tag '注册', :class=>"formbutton" %></p>
<% end -%>


